package cn.yzfy.common.model.entity;

import cn.yzfy.common.base.entity.AbstractBaseEntity;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.*;

import java.io.Serial;

/**
 * @author 一朝风月
 * @date 2025/9/11 17:59
 * @Code 面向注解面向卿，终无解释再无你
 * @description
 */

@EqualsAndHashCode(callSuper = false) @Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@TableName("sys_role")
public class RoleEntity extends AbstractBaseEntity {

    @Serial
    private static final long serialVersionUID = -1712785797892469157L;

    /**
     * 图标
     */
    private String icon;

    /**
     * 角色名称
     */
    private String name;

    /**
     * 备注
     */
    private String remark;

    /**
     * 启用状态
     */
    private Boolean enable;

    /**
     * 角色编码
     */
    private String code;
}